<template>
	<view class="content">
		<view class="title">
			您好，请登录！
		</view>
		<view class="from">
			<view>
				<image src="../../static/phone.png"></image>
				<input placeholder="请输入账号" type="text" /></view>
			<view>
				<image src="../../static/lock.png"></image>
				<input placeholder="请输入密码" type="password" /></view>
		</view>
		<button @click="login">登录</button>
		<view class="forgetpaw">忘记密码</view>
	</view>
</template>

<script>
	import {login} from '../../js/api.js'
	export default {
		data() {
			return {
				
			}
		},
		onLoad() {
	
		},
		methods: {
		  login(){
			//  login()
		  }
		}
	}
</script>

<style scoped>
	.content{
		padding:30rpx;
	}
	.title{
		font-size: 60rpx;
		margin-top:84rpx;
	}
	.from{
		margin-top:146rpx;
	}
	input{
		height:100rpx;
		
		padding-left: 30rpx;
	}
	button{
		margin-top:80rpx;
		border-radius:30rpx;
		color: #fff;
		background: linear-gradient( to right, #FDB139,#FB6A17);
	}
	.forgetpaw{
		color: #fb7e22;
		text-align: center;
		margin-top:44rpx;
	}
	.from view{
		display: flex;
		align-items: center;
		border-bottom: 1px solid #eee;
	}
	.from image{
		width: 26rpx;
		height: 36rpx;
	}
	
	.from image:nth-of-type(2){
		width: 29rpx;
		height:33rpx;
	}
</style>
